package com.yuyou.train.user.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.Date;

/**
 * @author 
 */
public class ReqUserPraise{


    @NotBlank(message="点赞对象id  (foreignId)不能为空")
    @ApiModelProperty(value = "点赞对象id ", required = true)
    private String foreignId;

    @NotBlank(message="resourceType 不能为空")
    @ApiModelProperty(value = "资源类别：01：视频，02：音频，03：文件，04：试卷，05：作业（自评作业），06：作业（提交型作业），07感想", required = true)
    private String resourceType;

    @NotBlank(message="类型type 不能为空")
    @ApiModelProperty(value = "赞踩：0：赞，1：踩 ", required = true)
    private String isPraise;

    public String getForeignId() {
        return foreignId;
    }

    public void setForeignId(String foreignId) {
        this.foreignId = foreignId;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getIsPraise() {
        return isPraise;
    }

    public void setIsPraise(String isPraise) {
        this.isPraise = isPraise;
    }

}